package edu.suda.LoopCodePlus.service.impl;

import edu.suda.LoopCodePlus.entity.Store;
import edu.suda.LoopCodePlus.mapper.StoreMapper;
import edu.suda.LoopCodePlus.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class StoreServiceImpl implements StoreService {
    @Autowired
    private StoreMapper storeMapper;

    @Override
    public List<Store> findAll() {
        List<Store> storeList = storeMapper.select_AllStore();
        return storeList;
    }

}
